const userRoute = [
  {
    path: '/dashboard',
    name: 'Dashboard',
    meta: {
      title: '控制台'
    },
    component: () => import('@/views/user/index'),
    children: [
      {
        path: 'audit_consume',
        name: 'AuditConsume',
        meta: {
          title: '会员积分核销'
        },
        component: () => import('@/views/user/audit-consume')
      },
      // {
      //   path: 'retailer_verify',
      //   name: 'RetailerVerify',
      //   meta: {
      //     title: '商户审核'
      //   },
      //   component: () => import('@/views/user/retailer-verify')
      // },
      {
        path: 'bill_list',
        name: 'BillList',
        meta: {
          title: '账单查询'
        },
        component: () => import('@/views/user/bill-list')
      },
      {
        path: 'saler_list',
        name: 'SalerList',
        meta: {
          title: '授权销售人员'
        },
        component: () => import('@/views/user/saler-list')
      },
    ]
  },
  {
    path: '/staff_login',
    name: 'StaffLogin',
    meta: {
      title: '公司员工登录'
    },
    component: () => import('@/views/user/login')

  },

  // {
  //   path: '/case/auth/:case_id',
  //   name: 'CaseAuth',
  //   props: true,
  //   meta: {
  //     title: '案件授权'
  //   },
  //   component: () => import('@/views/case/case_auth')
  // },
  // {
  //   path: '/lawyer_login',
  //   name: 'LawyerLogin',
  //   props: true,
  //   meta: {
  //     title: '律师登录'
  //   },
  //   component: () => import('@/views/case/login')
  // },
]

export default userRoute